#ifndef TIME_WEATHER_DATA_H
#define TIME_WEATHER_DATA_H

#include <QMainWindow>
#include <QPushButton>
#include <QtNetwork/QNetworkReply>
#include <QtNetwork/QNetworkAccessManager>
#include <QLabel>
#include <QTextCodec>
#include <QByteArray>
#include <QtNetwork/QNetworkRequest>
#include <QJsonParseError>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonValue>
#include <QMessageBox>
#include <QHBoxLayout>
#include <QJsonArray>
#include <QUrl>
class time_weather_data : public QWidget
{
    Q_OBJECT
public:
    //获取时间
    explicit time_weather_data(QWidget *parent = nullptr);
    void get_time(int *year,int *month,int *day,int *hour,int *minute,int *second,int *time_flag);

};

#endif // TIME_WEATHER_DATA_H
